﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectTemplateUpdater
{
	class Program
	{
		static void Main(string[] args)
		{
			string oldVersion = "3.1.4";
			string newVersion = "3.1.5";

            string baseDirectory = @"C:\Users\ijohnson\Source\Repos\Stylemvvm\Templates";

			ProjectTemplateDirectoryUpdater csharpUpdater =
				new ProjectTemplateDirectoryUpdater(oldVersion, newVersion, baseDirectory + @"\CSharp\Projects\");

			csharpUpdater.Update();

			ProjectTemplateDirectoryUpdater phoneUpdater =
				new ProjectTemplateDirectoryUpdater(oldVersion, newVersion, baseDirectory + @"\Phone\Projects\");

			phoneUpdater.Update();

			ProjectTemplateDirectoryUpdater wpfUpdater =
				new ProjectTemplateDirectoryUpdater(oldVersion, newVersion, baseDirectory + @"\WPF\Project Templates\");

			wpfUpdater.Update();

			ProjectTemplateDirectoryUpdater wcfUpdater =
				new ProjectTemplateDirectoryUpdater(oldVersion, newVersion, baseDirectory + @"\WCF\Projects\");

			wcfUpdater.Update();

			ProjectTemplateDirectoryUpdater mvcUpdater =
				new ProjectTemplateDirectoryUpdater(oldVersion, newVersion, baseDirectory + @"\MVC\Projects\");

			mvcUpdater.Update();
		}
	}
}
